|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfilescan.FileScan
public class FileScan
Scans a certain directory tree for files. Uses a FileFilter to determine whether or not a file should be included, and a FileScanHandler to read files with. Files that could be read and handled successfully are interpreted by the handler, and then added to a list. The list is returned.
| Constructor Summary | |
|---|---|
FileScan()
|
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
scan(java.io.File path,
java.io.FileFilter filter,
FileScanHandler handler)
Scan for files with the filter given in the path given. |
static java.lang.Object[] |
scan(java.io.File path,
java.lang.String extension)
Scan for files with the extension given in the path given. |
static java.lang.Object[] |
scan(java.io.File path,
java.lang.String extension,
FileScanHandler handler)
Scan for files with the extension given in the path given. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileScan()
| Method Detail |
|---|
public static java.lang.Object[] scan(java.io.File path,
java.lang.String extension)
public static java.lang.Object[] scan(java.io.File path,
java.lang.String extension,
FileScanHandler handler)
public static java.lang.Object[] scan(java.io.File path,
java.io.FileFilter filter,
FileScanHandler handler)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||